package com.shopx.auth.dao.db1;


import com.shopx.auth.bean.SysOrg;
import com.shopx.auth.model.SysOrgModel;
import com.shopx.dal.mysql.SqlMapper;

import java.util.List;


@SqlMapper
public interface SysOrgDao {
  int insertSelective(SysOrg sysOrg);

  int updateByPrimaryKeySelective(SysOrg sysOrg);

  int deleteByPrimaryKey(SysOrg sysOrg);

  SysOrgModel selectByPrimaryKey(SysOrg sysOrg);

  int selectCount(SysOrgModel sysOrg);

  List<SysOrgModel> selectList(SysOrgModel sysOrg);

  List<SysOrgModel> selectListByOrgIds(SysOrgModel sysOrg);

  List<SysOrgModel> selectOrgTreeList(SysOrgModel sysOrg);
}

